Pixel Types

This module is one of the simplest available within BranChing.  All it does is count the number of on pixels in an image, and the number of adjacent pixels (somewhere between 0-8) for each on pixel.  

None of the correction factors proposed by Zoon & van Tienderen (1990) are implemented by BranChing due to the empirical nature of the derivation of these values.

This module (as of BranChing v1.56) now performs the calculations developed by Pan and Bolton (1991).  I recommend reading this paper for additional detail about the calculations (see "References" for a complete citation).  The output of this module is a single line of information per file processed.  The information on the line is given in the following order:

File Name
# pixels / Image Scale (for skeletonized images this is uncorrected root length)
# pixels
Image Scale
# pixels with 1 neighbor
# pixels with 2 neighbors
# pixels with 3 neighbors
# pixels with 4 neighbors
# pixels with 5 neighbors
# pixels with 6 neighbors
# pixels with 7 neighbors
# pixels with 8 neighbors
Pe  - See Pan & Bolton for an symbol meaning
Lr  -  "
Wr -  "